package com.zbf.consumer;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * 作者：LCG
 * 创建时间：2019/3/16 23:49
 * 描述：
 */

@EnableEurekaClient
@SpringBootApplication
@EnableFeignClients   //feign调用远程服务
@EnableCircuitBreaker //使用熔断器
public class EurekaClient1Application {

    public static void main(String[] args) {
        SpringApplication.run ( EurekaClient1Application.class,args );
    }

}
